-- GENERATED SPELL FOR [Riverpaw Mystic] --


function spell0_453(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(913,pUnit)
pUnit:RegisterEvent('Sorts_453', 3000, 1)
end

function spell1_453(pUnit, Event) --@Lightning Bolt,n/a--
pUnit:FullCastSpellOnTarget(9532,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_453', 3000, 1)
end

function Sorts_453(pUnit, Event)
local choix_sorts_453 = math.random(0, 1)
if choix_sorts_453 == 0 then
pUnit:RegisterEvent('spell0_453', 1, 1)
end
if choix_sorts_453 == 1 then
pUnit:RegisterEvent('spell1_453', 1, 1)
end
end

function mob453_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_453', math.random(1500, 3000), 1)
end

function mob453_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob453_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob453_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(453, 1, 'mob453_Action')
RegisterUnitEvent(453, 2, 'mob453_Leave')
RegisterUnitEvent(453, 3, 'mob453_Kill')
RegisterUnitEvent(453, 4, 'mob453_Die')
